package com.easylinkin.linkappapi.hcmy.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.hcmy.entity.AreasourceecologyFunction;
import com.easylinkin.linkappapi.hcmy.entity.AreasourceecologyMenu;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.LinkedHashMap;
import java.util.List;

public interface AreasourceecologyFunctionMapper extends BaseMapper<AreasourceecologyFunction> {
    List<LinkedHashMap<String, BigDecimal>> findFunctionData(@Param("ids") String ids, @Param("type") Integer type);

    List<AreasourceecologyMenu> findMenuByType(Integer type);

    List<AreasourceecologyFunction> findAreasourceecologyList(@Param("areasourceecologyFunction") AreasourceecologyFunction areasourceecologyFunction);

    IPage<AreasourceecologyFunction> findAreasourceecologyList(@Param("page") Page page, @Param("areasourceecologyFunction") AreasourceecologyFunction areasourceecologyFunction);
}